package net.lesscoding.session;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.nio.channels.Channel;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

/**
 * @author eleven
 * @date 2024/10/31 14:37
 * @apiNote
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Group {

    public static final Group EMPTY_GROUP = new  Group("DefaultGroup", new HashSet<>(), new HashMap<>());
    private String name;

    private Set<String> members;

    private Map<String, Channel> memberChannelMap;
}
